package com.iter.devbox.pattern.staticproxy;

/**经纪人对象（代理角色）*/
public class Broker implements Shows {
	
	/**持有真实对象明星的引用*/
	private Star star;
	
	public Broker(Star star) {
		this.star = star;
	}
	
	/**商讨出演的相关事项*/
	public void discuss() {
		System.out.println("经纪人商讨出演事项");
	}

	/**具体表演演出*/
	public void perform() {
		//调用真实对象进行表演
		star.perform();
	}
}
